package com.example.project.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.util.Date;

@Data
@Entity
@Table(name = "tb_vote_record")
public class VoteRecord {
    @Id
    @TableId(type = IdType.AUTO)
    private String id;
    private String aid;
    private int uid;
    private String cid;
    private Date voteTime;
}
